/*
 * Copyright 2019 Google
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/* Automatically generated nanopb header */
/* Generated by nanopb-0.3.9.6 */

#ifndef PB_LOGS_PROTO_FIREBASE_INAPPMESSAGING_FIAM_NANOPB_H_INCLUDED
#define PB_LOGS_PROTO_FIREBASE_INAPPMESSAGING_FIAM_NANOPB_H_INCLUDED
#include <nanopb/pb.h>

/* @@protoc_insertion_point(includes) */
#if PB_PROTO_HEADER_VERSION != 30
#error Regenerate this file with the current version of nanopb generator.
#endif


/* Enum definitions */
typedef enum _logs_proto_firebase_inappmessaging_EventType {
    logs_proto_firebase_inappmessaging_EventType_UNKNOWN_EVENT_TYPE = 0,
    logs_proto_firebase_inappmessaging_EventType_IMPRESSION_EVENT_TYPE = 1,
    logs_proto_firebase_inappmessaging_EventType_CLICK_EVENT_TYPE = 2,
    logs_proto_firebase_inappmessaging_EventType_TEST_MESSAGE_IMPRESSION_EVENT_TYPE = 3,
    logs_proto_firebase_inappmessaging_EventType_TEST_MESSAGE_CLICK_EVENT_TYPE = 4
} logs_proto_firebase_inappmessaging_EventType;
#define _logs_proto_firebase_inappmessaging_EventType_MIN logs_proto_firebase_inappmessaging_EventType_UNKNOWN_EVENT_TYPE
#define _logs_proto_firebase_inappmessaging_EventType_MAX logs_proto_firebase_inappmessaging_EventType_TEST_MESSAGE_CLICK_EVENT_TYPE
#define _logs_proto_firebase_inappmessaging_EventType_ARRAYSIZE ((logs_proto_firebase_inappmessaging_EventType)(logs_proto_firebase_inappmessaging_EventType_TEST_MESSAGE_CLICK_EVENT_TYPE+1))

typedef enum _logs_proto_firebase_inappmessaging_DismissType {
    logs_proto_firebase_inappmessaging_DismissType_UNKNOWN_DISMISS_TYPE = 0,
    logs_proto_firebase_inappmessaging_DismissType_AUTO = 1,
    logs_proto_firebase_inappmessaging_DismissType_CLICK = 2,
    logs_proto_firebase_inappmessaging_DismissType_SWIPE = 3
} logs_proto_firebase_inappmessaging_DismissType;
#define _logs_proto_firebase_inappmessaging_DismissType_MIN logs_proto_firebase_inappmessaging_DismissType_UNKNOWN_DISMISS_TYPE
#define _logs_proto_firebase_inappmessaging_DismissType_MAX logs_proto_firebase_inappmessaging_DismissType_SWIPE
#define _logs_proto_firebase_inappmessaging_DismissType_ARRAYSIZE ((logs_proto_firebase_inappmessaging_DismissType)(logs_proto_firebase_inappmessaging_DismissType_SWIPE+1))

typedef enum _logs_proto_firebase_inappmessaging_RenderErrorReason {
    logs_proto_firebase_inappmessaging_RenderErrorReason_UNSPECIFIED_RENDER_ERROR = 0,
    logs_proto_firebase_inappmessaging_RenderErrorReason_IMAGE_FETCH_ERROR = 1,
    logs_proto_firebase_inappmessaging_RenderErrorReason_IMAGE_DISPLAY_ERROR = 2,
    logs_proto_firebase_inappmessaging_RenderErrorReason_IMAGE_UNSUPPORTED_FORMAT = 3
} logs_proto_firebase_inappmessaging_RenderErrorReason;
#define _logs_proto_firebase_inappmessaging_RenderErrorReason_MIN logs_proto_firebase_inappmessaging_RenderErrorReason_UNSPECIFIED_RENDER_ERROR
#define _logs_proto_firebase_inappmessaging_RenderErrorReason_MAX logs_proto_firebase_inappmessaging_RenderErrorReason_IMAGE_UNSUPPORTED_FORMAT
#define _logs_proto_firebase_inappmessaging_RenderErrorReason_ARRAYSIZE ((logs_proto_firebase_inappmessaging_RenderErrorReason)(logs_proto_firebase_inappmessaging_RenderErrorReason_IMAGE_UNSUPPORTED_FORMAT+1))

typedef enum _logs_proto_firebase_inappmessaging_FetchErrorReason {
    logs_proto_firebase_inappmessaging_FetchErrorReason_UNSPECIFIED_FETCH_ERROR = 0,
    logs_proto_firebase_inappmessaging_FetchErrorReason_SERVER_ERROR = 1,
    logs_proto_firebase_inappmessaging_FetchErrorReason_CLIENT_ERROR = 2,
    logs_proto_firebase_inappmessaging_FetchErrorReason_NETWORK_ERROR = 3
} logs_proto_firebase_inappmessaging_FetchErrorReason;
#define _logs_proto_firebase_inappmessaging_FetchErrorReason_MIN logs_proto_firebase_inappmessaging_FetchErrorReason_UNSPECIFIED_FETCH_ERROR
#define _logs_proto_firebase_inappmessaging_FetchErrorReason_MAX logs_proto_firebase_inappmessaging_FetchErrorReason_NETWORK_ERROR
#define _logs_proto_firebase_inappmessaging_FetchErrorReason_ARRAYSIZE ((logs_proto_firebase_inappmessaging_FetchErrorReason)(logs_proto_firebase_inappmessaging_FetchErrorReason_NETWORK_ERROR+1))

/* Struct definitions */
typedef struct _logs_proto_firebase_inappmessaging_ClientAppInfo {
    pb_bytes_array_t *google_app_id;
    pb_bytes_array_t *firebase_instance_id;
/* @@protoc_insertion_point(struct:logs_proto_firebase_inappmessaging_ClientAppInfo) */
} logs_proto_firebase_inappmessaging_ClientAppInfo;

typedef struct _logs_proto_firebase_inappmessaging_CampaignAnalytics {
    pb_bytes_array_t *project_number;
    pb_bytes_array_t *campaign_id;
    bool has_client_app;
    logs_proto_firebase_inappmessaging_ClientAppInfo client_app;
    bool has_client_timestamp_millis;
    int64_t client_timestamp_millis;
    pb_size_t which_event;
    union {
        logs_proto_firebase_inappmessaging_EventType event_type;
        logs_proto_firebase_inappmessaging_DismissType dismiss_type;
        logs_proto_firebase_inappmessaging_RenderErrorReason render_error_reason;
        logs_proto_firebase_inappmessaging_FetchErrorReason fetch_error_reason;
    };
    pb_bytes_array_t *fiam_sdk_version;
/* @@protoc_insertion_point(struct:logs_proto_firebase_inappmessaging_CampaignAnalytics) */
} logs_proto_firebase_inappmessaging_CampaignAnalytics;

/* Default values for struct fields */

/* Initializer values for message structs */
#define logs_proto_firebase_inappmessaging_CampaignAnalytics_init_default {NULL, NULL, false, logs_proto_firebase_inappmessaging_ClientAppInfo_init_default, false, 0, 0, {_logs_proto_firebase_inappmessaging_EventType_MIN}, NULL}
#define logs_proto_firebase_inappmessaging_ClientAppInfo_init_default {NULL, NULL}
#define logs_proto_firebase_inappmessaging_CampaignAnalytics_init_zero {NULL, NULL, false, logs_proto_firebase_inappmessaging_ClientAppInfo_init_zero, false, 0, 0, {_logs_proto_firebase_inappmessaging_EventType_MIN}, NULL}
#define logs_proto_firebase_inappmessaging_ClientAppInfo_init_zero {NULL, NULL}

/* Field tags (for use in manual encoding/decoding) */
#define logs_proto_firebase_inappmessaging_ClientAppInfo_google_app_id_tag 1
#define logs_proto_firebase_inappmessaging_ClientAppInfo_firebase_instance_id_tag 2
#define logs_proto_firebase_inappmessaging_CampaignAnalytics_event_type_tag 5
#define logs_proto_firebase_inappmessaging_CampaignAnalytics_dismiss_type_tag 6
#define logs_proto_firebase_inappmessaging_CampaignAnalytics_render_error_reason_tag 7
#define logs_proto_firebase_inappmessaging_CampaignAnalytics_fetch_error_reason_tag 8
#define logs_proto_firebase_inappmessaging_CampaignAnalytics_project_number_tag 1
#define logs_proto_firebase_inappmessaging_CampaignAnalytics_campaign_id_tag 2
#define logs_proto_firebase_inappmessaging_CampaignAnalytics_client_app_tag 3
#define logs_proto_firebase_inappmessaging_CampaignAnalytics_client_timestamp_millis_tag 4
#define logs_proto_firebase_inappmessaging_CampaignAnalytics_fiam_sdk_version_tag 9

/* Struct field encoding specification for nanopb */
extern const pb_field_t logs_proto_firebase_inappmessaging_CampaignAnalytics_fields[10];
extern const pb_field_t logs_proto_firebase_inappmessaging_ClientAppInfo_fields[3];

/* Maximum encoded size of messages (where known) */
/* logs_proto_firebase_inappmessaging_CampaignAnalytics_size depends on runtime parameters */
/* logs_proto_firebase_inappmessaging_ClientAppInfo_size depends on runtime parameters */

/* Message IDs (where set with "msgid" option) */
#ifdef PB_MSGID

#define FIAM_MESSAGES \


#endif

/* @@protoc_insertion_point(eof) */

#endif
